package live.ifox.factory;

public class StaffInfo {
    public class Level {
        public static final int User = 0x10;
        public static final int Manager = 0x100;
        public static final int Developer = 0x400;
    }

    public static String getLevelString(int level) {
        switch (level) {
            case Level.User:
                return "User";
            case Level.Manager:
                return "Manager";
            case Level.Developer:
                return "Developer";
            default:
                return "User";
        }
    }

    public static int getLevel(String level) {
        switch (level) {
            case "User":
                return Level.User;
            case "Manager":
                return Level.Manager;
            case "Developer":
                return Level.Developer;
            default:
                return Level.User;
        }
    }

    public class Group {
        public static final String None = "None";
        public static final String TD = "TD";
        public static final String SD = "SD";
        public static final String GD = "GD";
    }
}
